//
//  StartTimerCell.m
//  DefendHealth
//
//  Created by UNOHACHA on 17/2/21.
//  Copyright © 2017年 iMacOne. All rights reserved.
//

#import "StartTimerCell.h"

@implementation StartTimerCell

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    
    if (self) {
        self.contentView.backgroundColor = kWhiteColor;
        
        CGFloat  centerY = 50/2;
        
        UILabel * peoL = [ReduceCode creatLabelWithFrame:CGRectMake(20,0, 90, 14) title:@"提醒时间" titleColor:UIColorFromRGB(0x333333) font:14 textAlignment:NSTextAlignmentLeft];
        peoL.centerY = centerY;
        [self.contentView addSubview:peoL];
        
        
        UIImageView * weather = [ReduceCode creatImageVeiwWithFrame:CGRectMake(kScreenWidth-17, peoL.y, 7, 11) imageName:@"next" isCorner:NO];
        [self.contentView addSubview:weather];
        
        UILabel * timerL = [ReduceCode creatLabelWithFrame:CGRectMake(kMaxX(weather.frame)-12-80,peoL.y, 80, 14) title:@"19:00" titleColor:UIColorFromRGB(0x333333) font:14 textAlignment:NSTextAlignmentRight];
        [self.contentView addSubview:timerL];
        
        
    }
    
    return self;
}

@end
